package com.zm.scsimple.eureka.client;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zoum
 * @create 2019/2/25 16:53
 */
@RestController
public class HelloApiController{

    @RequestMapping("/hello")
    public String hello(@RequestParam("name") String name) {
        return "hello1, " + name;
    }
}
